package com.service;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.dao.UserMapper;
import com.entity.User;
@Service
public class UserService {
	@Resource
	UserMapper userMapper;
	public User selectAll(Map<String,Object>parms){
		return userMapper.selectAll(parms);
	}
	
	public User getById(int yid){
		return userMapper.getById(yid);
	}
	
	public User selectUserName(String yusername){
		return userMapper.selectUserName(yusername);
	}
	
	public User updatepassword(Map<String,Object> map){
		return userMapper.updatepassword(map);
	}
}
